package com.itheima.domain;

import java.util.Date;
public class User {

private int age;
private Date birthday;
private String name;
private Lei lei;



    public void eat() {
        System.out.println("eat...");
    }


    public void play(String name, int hour) {
        System.out.println("play" + name + hour + "个小时...");

    }


    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Lei getLei() {
        return lei;
    }

    public void setLei(Lei lei) {
        this.lei = lei;
    }
}
